<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>模板</title>
</head>
<body>
    <h1 th:text="${msg}"></h1>

    <ul th:each="xueke : ${list}">
        <li th:text="${xueke}"></li>
    </ul>
</body>
</html>